package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.RscRemoveBill;
import com.fdb.efp.nls.service.vo.RscRemoveBillVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>DAO interface:风险分类解除借据表				<p>
 * @author chenqm1
 * @date 2018-05-07
 */
public interface RscRemoveBillDao {
	
	public int insertRscRemoveBill(@Param("RscRemoveBillVO") List<RscRemoveBill> rscRemoveBill);
	
	public int deleteByPk(RscRemoveBill rscRemoveBill);
	
	public int updateByPk(RscRemoveBill rscRemoveBill);
	
	public RscRemoveBill queryByPk(RscRemoveBill rscRemoveBill);
	
	public List<RscRemoveBill> queryAllOwnerByPage(RscRemoveBillVO rscRemoveBill);
	
	public List<RscRemoveBill> queryAllCurrOrgByPage(RscRemoveBillVO rscRemoveBill);
	
	public List<RscRemoveBill> queryAllCurrDownOrgByPage(RscRemoveBillVO rscRemoveBill);

	public void deleteBytNo(String taskNo);

	public List<RscRemoveBill> queryAllOwnerByTaskNo(String taskNo);

	public int rscRemoveBillCusHandOver(@Param("fromUser") String fromUser, @Param("toUser") String toUser, @Param("fromBrId") String fromBrId, @Param("toBrId") String toBrId, @Param("cusIds") List<String> cusIds);

	public List<String> queryBillNo();
}
